<template>
  <div>
    <el-row>
      <el-col :span="20" :offset="2">
        <el-form :model="showData" size="mini" label-width="120px">
          <el-form-item label="备份类型">
            <span>{{showData.dbinfo.dbtype}}</span>
          </el-form-item>
          <el-form-item label="备份文件路径">
            <span>{{showData.localfilepath}}</span>
          </el-form-item>
          <el-form-item label="时间">
            <span>{{$public.comTime(showData.created)}}</span>
          </el-form-item>
          <el-form-item label="状态">
            <span>{{$public.StatusFormat(showData.status)}}</span>
          </el-form-item>
          <el-form-item v-if="showData.status!=0" label="错误信息">
            <span>{{showData.msg}}</span>
          </el-form-item>
        </el-form>
      </el-col>
    </el-row>
  </div>
</template>
<script>
export default {
  props: {
    showData: {
      type: Object,
      default: null,
    },
  },
  data() {
    return {};
  },
  methods: {},
};
</script>